package com.ddzh;

import com.ddzh.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public interface UserFeignApi {
    @GetMapping("user/{id}")
    public User queryById(@PathVariable("id") String username) ;
}
